package org.example.designPattern.factoryPattern1.factory;


import org.example.designPattern.factoryPattern1.service.Car;
import org.example.designPattern.factoryPattern1.service.Engine;

public interface TotalFactory {
    // 创建汽车
    Car createChair();

    // 创建发动机
    Engine createEngine();
}